/**
* Copyright © 2018 深圳市巨鼎医疗设备有限公司
*/
package com.zl.websocket.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 全局配置-所有系统可配置项都要在这里注册
 * 
 * @author Zhouych
 * @date 2018年9月4日 下午5:54:33
 * @since JDK 1.8
 */
@ConfigurationProperties(prefix = "zl.setting")
@Component
public class GlobalProperties {

	private WebsocketProperties websocket;

	public WebsocketProperties getWebsocket() {
		return websocket;
	}

	public void setWebsocket(WebsocketProperties websocket) {
		this.websocket = websocket;
	}
}
